package com.geek.factory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geek.factory.entity.ProductLine;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ProductLineMapper  extends BaseMapper<ProductLine> {

    @Select("SELECT line_name FROM product_line WHERE id = #{id}")
    String getLineNameById(@Param("id") String id);

}
